var w = 0;
var h = 0;
var mout;
function emotion(e,x,y){
var oMenu = document.getElementById("hdlk");
if(w <= 50){
oMenu.style.display = "block";
fnLarge();
}
else{
fnSmall();
}
document.getElementById('hdlk').style.top=y-e.offsetY+410+"px";
document.getElementById('hdlk').style.left=x-e.offsetX-5+"px";
}
function fnLarge(){
var oMenu = document.getElementById("hdlk");
if(w < 240){
w += 50;
h += 25;
oMenu.style.width = w+"px";
oMenu.style.height = h+"px";
window.setTimeout("fnLarge()",10);
}
}
function fnSmall(){
var oMenu = document.getElementById("hdlk");
if(w > 0){
w -= 50;
h -= 0;
oMenu.style.width = w+"px";
oMenu.style.height = h+"px";
window.setTimeout("fnSmall()",5);
}
else{
oMenu.style.display = "none";
}
}